package cn.edu.suda.catalina.dataupdate.service.implement;

import cn.edu.suda.catalina.dataupdate.domain.SystemRoleRepository;
import cn.edu.suda.catalina.dataupdate.entity.SystemRole;
import cn.edu.suda.catalina.dataupdate.service.SystemRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SystemRoleServiceImpl implements SystemRoleService {
    @Autowired
    private SystemRoleRepository repository;

    @Override
    public SystemRole save(SystemRole role) {
        return repository.save(role);
    }
}
